Storefront has been decoupled into micro-frontends with a dedicated commerce app and shared shell.

Read the architecture guide →

Order Cancellation Event Channel

Kafka topic owned by the commerce-fulfillment-team carrying Order API events when an order transitions from New to Cancelled.

KafkaTopic

Purpose & Scope

This topic transports order cancellation events published by Order APIServicev1.0.0Order APIAuthenticated Ordering service for Buyer profiles and the Order lifecycle, creating Orders from baskets, snapshotting pr...PublishesGetBasketGrpc, GetBookGrpc +5SubscribesCreateOrder, CompleteOrder +11APIsOpenAPI, AsyncAPI, Carrier Service LevelsOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs when an order transitions from New to Cancelled. Order OrchestrationServicev1.0.0Order OrchestrationMessage-driven Finance workflow service that coordinates post-checkout basket cleanup and order notifications using Dura...PublishesPlaceOrderCommand, DeleteBasketCompleteCommand +3SubscribesUserCheckedOutIntegrationEvent, OrderStatusChangedToCompleteIntegrationEvent +3APIsAsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs consumes these events to update the checkout saga and dispatch a cancellation email command to Order Cancellation Command ChannelChannelv1.0.0Order Cancellation Command ChannelKafka topic owned by the contributor team carrying Finance order-cancellation commands consumed by Notification API to s...Ownercommerce-fulfillment-teamOpen docs. This is a business status event, not an order soft-delete notification or email delivery confirmation.

Note

In current payloads, the basketId field carries the buyer identifier rather than an independent Basket service record identifier.

Channel Specification

PropertyValue
Bounded Context / OwnerOrderingDomainv1.0.0OrderingCreates durable Orders from a buyer's current basket, locks purchase-time pricing, and owns order lifecycle transitions ...Ownercommerce-fulfillment-teamDiagramOpen docs / Commerce Fulfillment TeamTeamCommerce Fulfillment TeamStream-Aligned team owning customer shopping baskets, checkout coordination, order lifecycle, and financial saga orchest...Open docs
Channel TypeTopic
Address Patternbookworm.{env}.ordering.order-status-change-to-cancel
Parametersenv (development, staging, production; default: development)
Protocol & Envelope FormatKafka + CloudEvents JSON (application/json)
Partition Key & Ordering GuaranteeKeyed by orderId; preserves per-order event ordering within a partition
Delivery SemanticsAt-least-once
Dead-Letter ChannelNone (direct worker consumption by Order OrchestrationServicev1.0.0Order OrchestrationMessage-driven Finance workflow service that coordinates post-checkout basket cleanup and order notifications using Dura...PublishesPlaceOrderCommand, DeleteBasketCompleteCommand +3SubscribesUserCheckedOutIntegrationEvent, OrderStatusChangedToCompleteIntegrationEvent +3APIsAsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs)

Messages & Participants

MessageTypeProducerConsumer(s)Consumer Group
Order cancelledEventv1.0.0Order cancelledReports that an Order transitioned from New to Cancelled. Ownercommerce-fulfillment-teamSchemaDiagramOpen docsEventOrder APIServicev1.0.0Order APIAuthenticated Ordering service for Buyer profiles and the Order lifecycle, creating Orders from baskets, snapshotting pr...PublishesGetBasketGrpc, GetBookGrpc +5SubscribesCreateOrder, CompleteOrder +11APIsOpenAPI, AsyncAPI, Carrier Service LevelsOwnercommerce-fulfillment-teamDiagramRepositoryOpen docsOrder OrchestrationServicev1.0.0Order OrchestrationMessage-driven Finance workflow service that coordinates post-checkout basket cleanup and order notifications using Dura...PublishesPlaceOrderCommand, DeleteBasketCompleteCommand +3SubscribesUserCheckedOutIntegrationEvent, OrderStatusChangedToCompleteIntegrationEvent +3APIsAsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docsFinance orchestration worker

Ordering, Retries & Failure Handling

Channel Details & Visualization

Channel information

Address: bookworm.{env}.ordering.order-status-change-to-cancel
Protocol:
  • kafka
Type: Topic

ParameterDescriptionOptionsDefault
envBookWorm deployment environment.development, staging, productiondevelopment